package org.codetranslators.compiler.tiger.abssyntree;


public class WhileExp extends Exp {
   private Exp test, body;
   
   public WhileExp(int p, Exp t, Exp b) 
   {
	   pos = p;
	   test = t;
	   body = b;
   }
   
   public Exp getTest()
   {
	   return test;
   }
   
   public Exp getBody()
   {
	   return body;
   }
}
